package com.app.service;

import com.app.model.TrainModel;
import com.app.vo.TrainVo;
import com.baomidou.mybatisplus.extension.service.IService;

//培训机构
public interface TrainService extends IService<TrainModel> {
    //培训机构列表
    TrainVo getTrainList(Integer page, Integer limit, String trainInstitution,Integer cityId);

    //用户培训机构列表
    TrainVo getUserTrainList(Integer page, Integer limit, String trainInstitution, Double longitude, Double latitude,Integer city,Integer type);

    //用户培训机构详情
    TrainModel getUserTrainById(Integer id, Double longitude, Double latitude);
}
